package org.sradon.pojo.bean;

public class CVN{

    private String name;

    private Integer length;

    private Integer width;

    /**
     * 注入一个被Spring管理的对象(XML)
     */
    private Fighter fighter;


    public Fighter getFighter() {
        return fighter;
    }

    public void setFighter(Fighter fighter) {
        this.fighter = fighter;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    @Override
    public String toString() {
        return "CVN{" +
                "name='" + name + '\'' +
                ", length=" + length +
                ", width=" + width +
                ", fighter=" + fighter +
                '}';
    }
}
